<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<script type="text/javascript" src="__PUBLIC__/admin/js/jquery-1.7.2.min.js"></script>
	<link href="__PUBLIC__/admin/css/admin.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
	.pic{text-align:center;}.pic img{width:50px;height:50px}
</style>
</head>
<body>

<table border="0" cellpadding="0" cellspacing="0" id="list-top" style="margin-left:20px;">
<tr>
	<td><a href="__URL__/?a=clear">清理冗余附件</a></td><td> | </td><td>远程附件设置</td>
</tr>
</table>
<table border="0" cellpadding="0" dellspacinng="0" id="listtext">
	<tr id="listt">
		<td class="nums">ID</td>
		<td class="nums">内容ID</td>
		<td class="nums">栏目ID</td>
		<td class="pic">预览</td>
		<td class="title">文件路径</td>
		<td class="time">上传时间</td>
		<td class="cz">操作管理</td>
	</tr>
<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
		<td class="nums"><?php echo ($vo["id"]); ?></td>
		<td class="nums"><?php echo ($vo["articleid"]); ?></td>
		<td class="nums"><?php echo ($vo["tid"]); ?></td>
		<td class="pic"><img src="<?php echo (ltrim($vo["s"],'.')); ?>"/></td>
		<td class="title"><a href="__ROOT__<?php echo (ltrim($vo["path"],'.')); ?>" target="_blank"><?php echo (ltrim($vo["path"],'.')); ?></a></td>
		<td class="time"><?php echo (date("Y-m-d H:i",$vo["date"])); ?></td>
		<td class="cz"><a href="__URL__/?a=del&id=<?php echo ($vo["id"]); ?>&file=<?php echo ($vo["path"]); ?>">删除</a></td>
	</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
<table border="0" cellpadding="0" cellspacing="0" id="pages">
	<tr><td><?php echo ($page); ?></td></tr>
</table>
	
</body>
</html>